Prizm Content Connect uses a temporary file system cache to store the files as they are being converted and served. The cache also acts as file-system-based temporary storage for converted files. When requests for previously converted files come in, this temporary cache comes in handy and can be used to serve the files previously rendered, thus resulting in faster response time and saving on CPU cycles for conversions.
If you configured the sample project, tempcache would have been set at C:\tempcache the path specified by the <TempcachePath> tag in prizmconfig.xml file available in the sample folder.
Windows version of Prizm Content Connect comes with a Windows-based tool called CacheManager which allows you to control the temporary cache, and prevent it from growing beyond a reasonable size. CacheManager can be configured as required and allows rule-setting for maintaining and deleting files from the temporary cache.
CacheManager Install Location: <prizm-install>\CacheManager
CacheManager requires .Net framework 2.0 or higher. |
Prizm Cache Manager
There are various settings options:
- Directory - where the proxy server stores the local cache files
- Extensions - file extensions that Cache Manager should delete
- (For .png files enter *.png, for .pdf file types enter *.pdf, for all file types enter *.*)
- Size Limit - directory size that should be maintained
- Delete Files Older Than - time period for files to be kept in the directory
- Run Every - run time can be set from every few minutes to every hour, to a specific time during the day
Example:
Maintain <TempcachePath> at size 1GB and run service every 30 min to maintain this size.
Delete older than 6 months to get size to 1GB.
Directory %ALLUSERSPROFILE%\Accusoft\Prizm\Cache
Extensions *.*
Size Limit:10GB
Delete Files Older Than: 30 min
Run Every :30 min
Troubleshooting
My files are not getting deleted, though size of folder is larger than set size.
- One of the conditions has to match for files to be deleted. The condition can be file creation date. Check the settings for Delete Files Older Than.
I click on CacheMgrTool and nothing happens.
- If you are on Vista or Win 2008 or Win 7, right-click on CacheMgrTool.exe and then click on Run as Administrator to run the tool.
I click on Register or Start service and an exception or error occurs.
- If you are on Vista or Win 2008 or Win 7, right-click on CacheMgrTool.exe and then click on Run as Administrator to run the tool.
- Click on cleanup.bat and run it. On Vista or Win 2008, or Win 7 you might want to run this as Administrator. Once cleanup has occurred, try again to run CacheMgrTool.exe as Administrator.